package com.zy.thread.bank3.jiaoti;

/**
 * @Author Gong
 * @Description
 * @dATE 2021/12/14 14:49
 **/
public class TestComm {
    public static void main(String[] args) {
        PrintNum pn = new PrintNum();
        Thread th1 = new Thread(pn);
        Thread th2 = new Thread(pn);
        th1.setName("甲");
        th2.setName("乙");
        th1.start();
        th2.start();
    }
}
